
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>单位基本信息</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"content="width=device-width, initial-scale=1, maximum-scale=1">
<script src="../../../js/angular.js"></script>
<link rel="stylesheet" href="../../../layui/css/layui.css" media="all">
<script type="text/javascript" src="../../../layui/lay/modules/layer.js"></script>
<script src="../../../layui/jquery-3.2.1.min.js" charset="utf-8"></script>
<script src="../../../layui/layui.js" charset="utf-8"></script>
<style>
         .layui-form-label{
         	 text-align: left;
             width:130px;
             height:30px;

     }
</style>


</head>
<body>
     
	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 20px;">
		<legend>单位基本信息</legend>
	</fieldset>


	<form class="layui-form" action="">
		<div class="layui-form-item" >
			<div class="layui-inline"  >
				<label class="layui-form-label" >单位账号:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWZH" id="DWZH" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >单位名称:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWMC" id="DWMC" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >单位性质:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWXZ" id="DWXZ" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
	
		<div class="layui-form-item">
			<div class="layui-inline" >
				<label class="layui-form-label" >开户时间:</label>
				<div class="layui-input-inline">
					<input type="text" name="KHSJ" id="KHSJ" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >单位设立日期:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWSLRQ" id="DWSLRQ" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >单位法人代表姓名:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWFRDBXM" id="DWFRDBXM" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
	
		<div class="layui-form-item" style="width: 100%">
			<div class="layui-inline" >
				<label class="layui-form-label" >财务负责人:</label>
				<div class="layui-input-inline">
					<input type="text" name="CWFZR" id="CWFZR" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >组织机构代码:</label>
				<div class="layui-input-inline">
					<input type="text" name="ZZJGDM" ID="ZZJGDM" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >缴存情况:</label>
				<div class="layui-input-inline">
					<input type="text" name="JCQK" id="JCQK" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
	
		<div class="layui-form-item">
			<div class="layui-inline" >
				<label class="layui-form-label" >单位缴存比例:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWJCBL" id="DWJCBL" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >个人缴存比例:</label>
				<div class="layui-input-inline">
					<input type="text" name="GRJCBL" id="GRJCBL" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >单位地址:</label>
				<div class="layui-input-inline">
					<input type="text" name="DWDZ" id="DWDZ" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline" >
				<label class="layui-form-label" >电话:</label>
				<div class="layui-input-inline">
					<input type="text" name="TELEPHONE" id="TELEPHONE" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >财务负责人电话:</label>
				<div class="layui-input-inline">
					<input type="text" name="CWFZRDH" id="CWFZRDH" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" >在职人数:</label>
				<div class="layui-input-inline">
					<input type="text" name="ZZRS" id="ZZRS" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
	
		<div class="layui-form-item">
			<div class="layui-inline" >
				<label class="layui-form-label" >实缴人数:</label>
				<div class="layui-input-inline">
					<input type="text" name="SJRS" id="SJRS" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >开户银行:</label>
				<div class="layui-input-inline">
					<input type="text" name="KHYH" id="KHYH" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-inline" >
				<label class="layui-form-label" >账号:</label>
				<div class="layui-input-inline">
					<input type="text" name="ZHANGH" id="ZHANGH" autocomplete="off"
						class="layui-input">
				</div>
			</div>
		</div>
	
		<div class="layui-inline" >
			<label class="layui-form-label" >公积金缴存行:</label>
			<div class="layui-input-inline">
				<input type="text" name="GJJJCH" id="GJJJCH" autocomplete="off"
					class="layui-input" style="width:120%">
			</div>
		</div>
	</form>
	<script>
		layui.use('element', function() {
			var $ = layui.jquery, element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
		});
	</script>
	<script type="text/javascript">
	
	function getPath() {  
	     
	        return 'http://'+location.host;
	}
		
		
	</script>
	<script src="../../../layui/jquery-3.2.1.min.js" charset="utf-8"></script>
	<script type="text/javascript" src="../../../layui/lay/modules/layer.js"></script>
	<script type="text/javascript" src="../../../layui/layer.ext.js"></script>
	<script type="text/javascript">
	
		 $(function(){
			$.ajax({
				url : getPath()+'/wsyyt/dwjbxxcontroller/test',
				method : 'post',
				dataType : 'JSON',
				success : function(result) {
					var UNITCODE=result.UNITCODE;
					var data = result.data;
					if(result.code==0){
						$.each(data[0], function(key, value) {
							$("#" + key).val(value);
						});
					}else{
						layer.msg('提示：'+result.CW,{icon: 5});	
					}
				},

			});
		});
	</script>
<script type="text/javascript">
	$(function(){
			$('input').attr("readonly","readonly");
		});
	</script>
</body>
</html>